import request from '@/config/axios'

export type RebateVO = {
  query: string
  tenantIds: EmptyArrayType
  times: any
}

// 查询门店业绩
export const getStatisticsRebateTenant = (params: RebateVO) => {
  return request.get({
    url: '/statistics/rebate/tenant',
    params
  })
}
// 导出门店业绩 Excel
export const exportRebate = (params: RebateVO) => {
  return request.get({
    url: '/statistics/rebate/tenant/export-excel',
    params
  })
}
